<?php
	include 'DBController.php';

	$meaningId = $_GET['meaningId'];
	$meaningIndex = $_GET['meaningIndex'];
	$chineseMeaning = $_GET['chineseMeaning'];
	$englishMeaning = $_GET['englishMeaning'];
	$wordId = $_GET['wordId'];
	
	updateWordEditTime($wordId);
	
	$meaning = new Meaning();
	$meaning->setMeaningId($meaningId);
	$meaning->setCnTranslate($chineseMeaning);
	$meaning->setEngTranslate($englishMeaning);
	
	updateMeaning($meaning);
?>